/*
 * @Author: 华芊芊 huaqianqian@yeah.net
 * @Date: 2023-09-22 10:08:44
 * @LastEditors: 华芊芊 huaqianqian@yeah.net
 * @LastEditTime: 2023-11-09 10:57:28
 * @FilePath: \zmglpt-ui-screen-new\src\api\basic.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
let paramsTemp = {
  // ...JSON.parse(localStorage.getItem('PICKTIME')),
  columnName: "prov_org_uuid",
  orgUuid: "00000000000000000000000011340001",
}
// 专卖人员总数
export const getTotalNum = (params = {}) =>
  request({
    url: '/zm_total_num_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 各岗位人员数量及占比
export const getJobStatData = (params = {}) =>
  request({
    url: '/job_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 技能等级
export const getSkillLevelData = (params = {}) =>
  request({
    url: '/skill_level_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 学历情况
export const getEducatinalInfoData = (params = {}) =>
  request({
    url: '/educational_info_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 荣誉成果
export const getHonourInfoData = (params = {}) =>
  request({
    url: '/honour_info_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 场地，时长，人次
export const getSiteInfoData = (params = {}) =>
  request({
    url: '/site_info_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 主题统计数据
export const getThemeStatData = (params = {}) =>
  request({
    url: '/theme_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 骨干团队
export const getCoreTeamData = (params = {}) =>
  request({
    url: '/expert_library_stat_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//地图数据
export const getDataMap = (params = {}) =>
  request({
    url: '/org_map_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })

//地图数据-新
export const getDataMapCity = (params = {}) =>
  request({
    url: '/org_map_city_ah_v2/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
  
export const getDataMapCounty = (params = {}) =>
request({
  url: '/org_map_county_ah_v2/',
  method: 'get',
  params: { ...paramsTemp, ...params },
  custom: { catch: true },
})

 //打假打私专家列表
  export const getExpertLibraryListDjds = (params = {}) =>
  request({
    url: '/expert_library_list_djds_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
   //市场监管专家列表
  export const getExpertLibraryListScjg = (params = {}) =>
  request({
    url: '/expert_library_list_scjg_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
   //数据管理专家列表
  export const getExpertLibraryListSjgl = (params = {}) =>
  request({
    url: '/expert_library_list_sjgl_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
   //政务服务专家列表
  export const getExpertLibraryListZwfw = (params = {}) =>
   request({
     url: '/expert_library_list_zwfw_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //内部监管专家列表
  export const getExpertLibraryListNbjs = (params = {}) =>
   request({
     url: '/expert_library_list_nbjg_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //队伍管理专家列表
  export const getExpertLibraryListDwgl = (params = {}) =>
   request({
     url: '/expert_library_list_dwgl_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //基础管理专家列表
  export const getExpertLibraryListJcgl = (params = {}) =>
   request({
     url: '/expert_library_list_jcgl_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //持证率排名
   export const getHoldLicRadio = (params = {}) =>
   request({
     url: '/hold_lic_radio_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //评聘率排名
   export const getEvaluateAppointRadio = (params = {}) =>
   request({
     url: '/evaluate_appoint_radio_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //队伍对标数据
   export const getTeamBmkData = (params = {}) =>
   request({
     url: '/team_bmk_data_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })

   //专卖人员总数对标-下钻
   export const getZmTotalNumBmk = (params = {}) =>
   request({
     url: '/zm_total_num_bmk_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })

   //技能等级人数对标-下钻
   export const getSkillLevelBmkData = (params = {}) =>
   request({
     url: '/skill_level_bmk_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })
   //交通工具、执法记录仪、通讯工具、其他设备
   export const getEquipSum = (params = {}) =>
   request({
     url: '/equip_sum_ah_v1/',
     method: 'get',
     params: { ...paramsTemp, ...params },
     custom: { catch: true },
  })